package com.fh.fallback;

import com.fh.feign.TimeoutQueryClient;
import com.fh.model.OrderItem;
import com.fh.model.Orders;
import org.springframework.stereotype.Component;

import java.util.List;


@Component
public class TimeoutQueryClientFallback implements TimeoutQueryClient {


    @Override
    public List<Orders> query() {
        System.out.println("进入查询时间降级");
        return null;
    }
}
